﻿

namespace Manon.Repository.Extensions
{
    /// <summary>
    /// 过滤器逻辑枚举
    /// </summary>
    public enum FilterLogicEnum
    {
        /// <summary>
        /// 并且
        /// </summary>
        AndAlso = 0,

        /// <summary>
        /// 或者
        /// </summary>
        OrElse = 1
    }

    /// <summary>
    /// 分类枚举(? 待修改)
    /// </summary>
    public enum ClassType
    {
        /// <summary>
        /// 文库
        /// </summary>
        WordsType = 2,

        /// <summary>
        /// 视频
        /// </summary>
        VideoType = 4,
    }

    /// <summary>
    /// 过滤器类型枚举
    /// </summary>
    public enum FilterTypeEnum
    {
        /// <summary>
        /// 小于等于
        /// </summary>
        LessThanOrEqual = 0,

        /// <summary>
        /// 大于等于
        /// </summary>
        GreaterThanOrEqual = 1,

        /// <summary>
        /// 等于
        /// </summary>
        Equal = 2,

        /// <summary>
        /// 以...结尾
        /// </summary>
        EndsWith = 3,

        /// <summary>
        /// 以...开头
        /// </summary>
        StartsWith = 4,

        /// <summary>
        /// 小于
        /// </summary>
        LessThan = 5,

        /// <summary>
        /// 大于
        /// </summary>
        GreaterThan = 6,

        /// <summary>
        /// 包含
        /// </summary>
        Contains = 7

    }
}